import Vue from 'vue'
// 1. 导入 vue-router 包
import VueRouter from 'vue-router'
// 2. 手动安装 VueRouter
Vue.use(VueRouter)
// 导入 app入口 组件
import app from './App.vue'

// 导入自定义路由模块
import router from './router.js'

import './lib/mui/css/mui.css'
import {Header,Swipe,SwipeItem} from 'mint-ui'
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)

var vm = new Vue({
    el: '#app',
    data: {
    },
    router,
    render:c=>c(app)
})